package edu.xupt.ediction.slice;

import edu.xust.ediction.ResourceTable;
import ohos.aafwk.ability.AbilitySlice;
import ohos.aafwk.content.Intent;
import ohos.agp.components.Image;

public class RegisterAbilitySlice extends AbilitySlice {
    @Override
    public void onStart(Intent intent) {
        super.onStart(intent);
        super.setUIContent(ResourceTable.Layout_register);

        //设置按钮跳转到设置界面
        Image signinfo_return=(Image)this.findComponentById(ResourceTable.Id_signinfo_return);
        signinfo_return.setClickedListener(component ->present(new SignAbilitySlice(),new Intent()));


    }

    @Override
    public void onActive() {
        super.onActive();
    }

    @Override
    public void onForeground(Intent intent) {
        super.onForeground(intent);
    }
}
